<%@ page language="java" import="java.util.*,domain.*"
	pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>My JSP 'Pet_index.jsp' starting page</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<link rel="stylesheet" href="css/style.css" type="text/css"></link>
		<s:head theme="css_xhtml" />
		<sx:head parseContent="true" />
	</head>

	<body style="text-align: center">
		<div id="top">
			<%@include file="top.jsp"%>
		</div>
		<div id="center">
			<div id="centerleft">
				<div id="menulist">
					<!--功能菜单开始-->
					<table width="18%">
						<%
							UserInfo user;
							user = (UserInfo) session.getAttribute("UserLogin");
							if (user == null) {
						%>
						<jsp:include page="Login.jsp" />
						<%
							} else {
						%>
						<jsp:include page="LoginOut.jsp" />
						<%
							}
						%>
					</table>
					<!--功能菜单结束-->
				</div>
			</div>
			<div id="centerright">
				<div id="guide">
					您现在所在的位置：宠物在线系统>>后台管理>>宠物管理
				</div>
				<div id="main">
					<!--功能开始-->
					<form action="OrderSubmit" method="post">
						<table>
							<tr>
								<td>
									会员名称:
								</td>
								<td>
									${sessionScope.UserLogin.userName}
								</td>
							</tr>
							<tr>
								<td>
									真实姓名:
								</td>
								<td>
									${sessionScope.UserLogin.userRealName}
								</td>
							</tr>
							<tr>
								<td>
									性别:
								</td>
								<td>
									${sessionScope.UserLogin.userSex}
								</td>
							</tr>
							<tr>
								<td>
									联系方式:
								</td>
								<td>
									<s:textfield name="user.userTel"
										value="%{#session.UserLogin.userTel}" />
								</td>
							</tr>
							<tr>
								<td>
									地址:
								</td>
								<td>
									<s:textfield name="user.userPlace"
										value="%{#session.UserLogin.userPlace}" />
								</td>
							</tr>
							<tr>
								<td>
									邮箱:
								</td>
								<td>
									<s:textfield name="user.userEmail"
										value="%{#session.UserLogin.userEmail}" />
								</td>
							</tr>
							<tr>
								<td>
									付款方式:
								</td>
								<td>
									<s:select list="{'银行卡','邮政支付','现金付款'}" name="tras.buy_Way"
										headerKey="-1" headerValue="请选择付款方式" />
								</td>
							</tr>
							<tr>
								<td>
									银行账号:
								</td>
								<td>
									<s:textfield name="tras.bankNum" />
								</td>
							</tr>
							<tr>
								<td>
									运送方式:
								</td>
								<td>
									<s:select list="{'快递','EMS极速快递','宅急便'}"
										name="tras.traction_Way" headerKey="-1" headerValue="请选择运送方式" />
								</td>
							</tr>
							<tr>
								<td>
									总金额：
								</td>
								<td>
									${totalmoney}
								</td>
							</tr>
							<tr>
								<td>
									备注:
								</td>
								<td>
									<s:textarea name="tras.message_Comment" cols="30" rows="8" />
								</td>
							</tr>
						</table>
						<tr>
							<td>
								<input type="submit" value="提交" />
							</td>
							<td>
								<input type="reset" value="重置">
							</td>
						</tr>
					</form>
					<div align="center"></div>
				</div>
			</div>
			<div style="clear: both"></div>
		</div>
	</body>
</html>
